/**
 * @description: 上传文件 Dto
 * @author: YoungYa
 * @date 2024/11/24
 */
import { ApiProperty } from '@nestjs/swagger';

type BinaryData = BufferSource;

export class UploadFileDto {
  @ApiProperty({
    type: String,
    description: '文件流',
    format: 'binary',
  })
  file: BinaryData;
}
